package cn.wolfcode.business.domain;

import cn.wolfcode.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class BusServiceItem extends BaseEntity {
    private static final long serialVersionUID = 1L;

    public static final Integer CARPACKAGE_NO = 0;//不是套餐
    public static final Integer CARPACKAGE_YES = 1;//是套餐

    public static final Integer AUDITSTATUS_INIT = 0;//初始化
    public static final Integer AUDITSTATUS_AUDITING = 1;//审核中
    public static final Integer AUDITSTATUS_APPROVED = 2;//审核通过
    public static final Integer AUDITSTATUS_REPLY = 3;//审批拒绝
    public static final Integer AUDITSTATUS_NO_REQUIRED = 4;//无需审核

    public static final Integer SALESTATUS_OFF = 0;//下架
    public static final Integer SALESTATUS_ON = 1;//上架

    private Long id;
    private String          name;
    private BigDecimal      originalPrice;
    private BigDecimal      discountPrice;
    private Integer         carPackage;
    private String          info;
    private Date            createTime;
    private Integer         serviceCatalog;
    private Integer         auditStatus;
    private Integer         saleStatus;
}
